package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the CC_PAYMENT database table.
 * 
 */
@Entity
@Table(name="CC_PAYMENT")
@NamedQuery(name="CcPayment.findAll", query="SELECT c FROM CcPayment c")
public class CcPayment implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="CC_PAYMENT_PAYMENTID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_PAYMENT_PAYMENTID_GENERATOR")
	private long paymentid;

	@Temporal(TemporalType.DATE)
	private Date paydate;

	@Column(name="PM_STAFFID")
	private BigDecimal pmStaffid;

	private BigDecimal pmoney;

	private BigDecimal ppatientid;

	public CcPayment() {
	}

	public long getPaymentid() {
		return this.paymentid;
	}

	public void setPaymentid(long paymentid) {
		this.paymentid = paymentid;
	}

	public Date getPaydate() {
		return this.paydate;
	}

	public void setPaydate(Date paydate) {
		this.paydate = paydate;
	}

	public BigDecimal getPmStaffid() {
		return this.pmStaffid;
	}

	public void setPmStaffid(BigDecimal pmStaffid) {
		this.pmStaffid = pmStaffid;
	}

	public BigDecimal getPmoney() {
		return this.pmoney;
	}

	public void setPmoney(BigDecimal pmoney) {
		this.pmoney = pmoney;
	}

	public BigDecimal getPpatientid() {
		return this.ppatientid;
	}

	public void setPpatientid(BigDecimal ppatientid) {
		this.ppatientid = ppatientid;
	}

}